<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      //1.滚轮事件 wheel
      //   document.onwheel = function () {
      //     console.log("在滚动");
      //   };

      //2.鼠标右键事件: contextmenu
      //   document.oncontextmenu = function () {
      //     console.log("在点右键");
      //   };

      //3.鼠标双击事件,左键的双击 ondblclick
      document.ondblclick = function () {
        console.log("在双击");
      };
    </script>
  </body>
</html>
